#ifndef __ARTIST_MMSERVER_H__
#define __ARTIST_MMSERVER_H__
VOID MMServer();
#define MMSERVER_WHOIAM            (0)
#define MMSERVER_PAGEDISTRIBUTION  (1)
#define MMSERVER_PAGERESTORATION   (2)
#define MMSERVER_LOCKPAGE          (3)
#define MMSERVER_UNLOCKPAGE        (4)
#define MMSERVER_SWAPPAGE          (5)

typedef struct struct_mmparameter
        {
		   U4B        pagenumber;
		   PPAGEBLOCK blockpointer;
		   U4B        pad0;
		   U4B        pad1;
		}MMPARAMETER;

typedef struct struct_mmparameter* PMMPARAMETER;
PUBLIC S4B MMPageDistribute(PMMPARAMETER pparameter);
PUBLIC S4B MMPageRestore(PMMPARAMETER pparameter);
PUBLIC S4B MMLockPage(PMMPARAMETER pparameter);
PUBLIC S4B MMUnlockPage(PMMPARAMETER pparameter);
PUBLIC S4B MMApplyForPage(PMMPARAMETER pparameter);
PUBLIC S4B ApplyForLocking(PMMPARAMETER pparameter);

#endif
